package com.gitee.wsl.ext.map

import com.gitee.wsl.ext.collection.println


fun <K, V> Map<K, V>.println(isDebug:Boolean=true,transform:((Pair<K, V>)->String)={"${it.first}:${it.second}"}){
    if(isDebug)
        println(toList().println(transform=transform))
}